package com.hxzy.common.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@ApiModel(value = "状态更改模型")
public class StatusChangeReq {
    @NotNull(message = "主键不能为空" )
    @ApiModelProperty(value = "状态（1停用，0正常）",required = true,dataType = "Long")
    private Long id;

    /**
     * 状态（1停用，0正常）
     */
    @NotBlank(message = "状态不能为空")
    @ApiModelProperty(value = "状态（1停用，0正常）",required = true)
    private String status;
}
